//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.baidu.trace.b;

import android.content.Context;
import android.os.Handler;
import com.baidu.trace.az;
import com.baidu.trace.c.e;
import com.baidu.trace.c.f.a;

public final class i extends Thread {
    private Context a = null;
    private Handler b = null;
    private byte[] c = null;
    private a d = null;

    public i(Context var1, Handler var2, byte[] var3, a var4) {
        this.a = var1;
        this.b = var2;
        this.c = var3;
        this.d = var4;
    }

    public final void run() {
        if(d.a(this.a)) {
            if(this.c != null && this.c.length > 0) {
                if(this.d != null) {
                    if(a.a == this.d) {
                        az.a = e.a();
                    } else if(a.b == this.d) {
                        az.b = e.a();
                    }

                    az.a(this.d);
                }

                com.baidu.trace.b.a.a(this.c, this.b);
            }

            this.c = null;
        } else {
            if(this.b != null) {
                this.b.obtainMessage(19).sendToTarget();
            }

        }
    }
}
